package com.iot08.api.service.sms;



import com.iot08.common.entity.app.sms.SendSmsResponseWrapper;

import java.util.Map;

/**
 * @description:短信验证码服务商发送接口
 * @author: chenwenjie
 * @date: 2023/6/29 10:23
 * @param:
 * @return:
 **/
public interface IProviderSmsService {

    /**
     * @description 发送消息
     * @param mobile 手机号码
     * @param param 短信模板填充的参数, 把参数封装成对象即可
     * @param configMap 参数配置
     * @return
     * @throws Exception
     */
    SendSmsResponseWrapper send(String mobile, Object param, Map<String, String> configMap) throws Exception;

    /**
     * @description 发送短信通知消息
     * @author cwj
     * @param [mobile, param, configMap]
     * @return com.iot08.common.entity.app.sms.SendSmsResponseWrapper
     * @date @time 2025/3/19 10:34
     **/
   /* SendSmsResponseWrapper sendNotify(String mobile, Object param, Map<String, String> configMap) throws Exception;*/
}
